package com.mes.schedule.domain;

import java.io.Serializable;

import com.mes.basicdata.domain.Dept;
import com.mes.basicdata.domain.Equipment;
import com.mes.common.domain.BasicModel;

public class ScheduleUtilize extends BasicModel implements Serializable {

	private String scheduleUid;
	private ScheduleScheme schedule;
	private String resUid;
	private Equipment equipment;
	private Double resUtilize;
	private String notes;
	private String deptUid;
	private Dept dept;
	private Double totalcapacitytime;
	private Double totalfreetime;
	private Double totalsetuptime;
	private Double totalruntime;
	private Double totallinkassignlag;
	private String workcenterUid;
	private Equipment workcenter;
	private Double resLoad;
	private Double totalovertime;
	private Double totalwaittime;
	private String segmentNum;

	public String getUuid() {
		// TODO Auto-generated method stub
		return this.scheduleUid + "___" + this.resUid;
	}

	@Override
	public void setUuid(String uuid) {
		// // TODO Auto-generated method stub
		// super.setUuid(uuid);
	}

	/**
	 * @return the totalwaittime
	 */
	public Double getTotalwaittime() {
		return totalwaittime;
	}

	/**
	 * @param totalwaittime
	 *            the totalwaittime to set
	 */
	public void setTotalwaittime(Double totalwaittime) {
		this.totalwaittime = totalwaittime;
	}

	/**
	 * @return the segmentNum
	 */
	public String getSegmentNum() {
		return segmentNum;
	}

	/**
	 * @param segmentNum
	 *            the segmentNum to set
	 */
	public void setSegmentNum(String segmentNum) {
		this.segmentNum = segmentNum;
	}

	/**
	 * @return the scheduleUid
	 */
	public String getScheduleUid() {
		return scheduleUid;
	}

	/**
	 * @param scheduleUid
	 *            the scheduleUid to set
	 */
	public void setScheduleUid(String scheduleUid) {
		this.scheduleUid = scheduleUid;
	}

	/**
	 * @return the schedule
	 */
	public ScheduleScheme getSchedule() {
		return schedule;
	}

	/**
	 * @param schedule
	 *            the schedule to set
	 */
	public void setSchedule(ScheduleScheme schedule) {
		this.schedule = schedule;
	}

	/**
	 * @return the resUid
	 */
	public String getResUid() {
		return resUid;
	}

	/**
	 * @param resUid
	 *            the resUid to set
	 */
	public void setResUid(String resUid) {
		this.resUid = resUid;
	}

	/**
	 * @return the equipment
	 */
	public Equipment getEquipment() {
		return equipment;
	}

	/**
	 * @param equipment
	 *            the equipment to set
	 */
	public void setEquipment(Equipment equipment) {
		this.equipment = equipment;
	}

	/**
	 * @return the resUtilize
	 */
	public Double getResUtilize() {
		return resUtilize;
	}

	/**
	 * @param resUtilize
	 *            the resUtilize to set
	 */
	public void setResUtilize(Double resUtilize) {
		this.resUtilize = resUtilize;
	}

	/**
	 * @return the notes
	 */
	public String getNotes() {
		return notes;
	}

	/**
	 * @param notes
	 *            the notes to set
	 */
	public void setNotes(String notes) {
		this.notes = notes;
	}

	/**
	 * @return the deptUid
	 */
	public String getDeptUid() {
		return deptUid;
	}

	/**
	 * @param deptUid
	 *            the deptUid to set
	 */
	public void setDeptUid(String deptUid) {
		this.deptUid = deptUid;
	}

	/**
	 * @return the dept
	 */
	public Dept getDept() {
		return dept;
	}

	/**
	 * @param dept
	 *            the dept to set
	 */
	public void setDept(Dept dept) {
		this.dept = dept;
	}

	/**
	 * @return the totalcapacitytime
	 */
	public Double getTotalcapacitytime() {
		return totalcapacitytime;
	}

	/**
	 * @param totalcapacitytime
	 *            the totalcapacitytime to set
	 */
	public void setTotalcapacitytime(Double totalcapacitytime) {
		this.totalcapacitytime = totalcapacitytime;
	}

	/**
	 * @return the totalfreetime
	 */
	public Double getTotalfreetime() {
		return totalfreetime;
	}

	/**
	 * @param totalfreetime
	 *            the totalfreetime to set
	 */
	public void setTotalfreetime(Double totalfreetime) {
		this.totalfreetime = totalfreetime;
	}

	/**
	 * @return the totalsetuptime
	 */
	public Double getTotalsetuptime() {
		return totalsetuptime;
	}

	/**
	 * @param totalsetuptime
	 *            the totalsetuptime to set
	 */
	public void setTotalsetuptime(Double totalsetuptime) {
		this.totalsetuptime = totalsetuptime;
	}

	/**
	 * @return the totalruntime
	 */
	public Double getTotalruntime() {
		return totalruntime;
	}

	/**
	 * @param totalruntime
	 *            the totalruntime to set
	 */
	public void setTotalruntime(Double totalruntime) {
		this.totalruntime = totalruntime;
	}

	/**
	 * @return the totallinkassignlag
	 */
	public Double getTotallinkassignlag() {
		return totallinkassignlag;
	}

	/**
	 * @param totallinkassignlag
	 *            the totallinkassignlag to set
	 */
	public void setTotallinkassignlag(Double totallinkassignlag) {
		this.totallinkassignlag = totallinkassignlag;
	}

	/**
	 * @return the workcenterUid
	 */
	public String getWorkcenterUid() {
		return workcenterUid;
	}

	/**
	 * @param workcenterUid
	 *            the workcenterUid to set
	 */
	public void setWorkcenterUid(String workcenterUid) {
		this.workcenterUid = workcenterUid;
	}

	/**
	 * @return the workcenter
	 */
	public Equipment getWorkcenter() {
		return workcenter;
	}

	/**
	 * @param workcenter
	 *            the workcenter to set
	 */
	public void setWorkcenter(Equipment workcenter) {
		this.workcenter = workcenter;
	}

	/**
	 * @return the resLoad
	 */
	public Double getResLoad() {
		return resLoad;
	}

	/**
	 * @param resLoad
	 *            the resLoad to set
	 */
	public void setResLoad(Double resLoad) {
		this.resLoad = resLoad;
	}

	/**
	 * @return the totalovertime
	 */
	public Double getTotalovertime() {
		return totalovertime;
	}

	/**
	 * @param totalovertime
	 *            the totalovertime to set
	 */
	public void setTotalovertime(Double totalovertime) {
		this.totalovertime = totalovertime;
	}

}
